// import './assets/main.css'

import { createApp } from "vue";
import { createPinia } from "pinia";
import "amfe-flexible";
import "@/utils/rem.js";
import App from "./App.vue";
import router from "./router";
import { Lazyload } from "vant";
import vant from "vant";
// 2. 引入组件样式
import "vant/lib/index.css";
const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(vant);
app.use(Lazyload);

// 注册时可以配置额外的选项
app.use(Lazyload, {
  lazyComponent: true,
});
app.mount("#app");
